|
|
|
|
|
|
|
Support for stored procedures, including input and output parameters and return values. |
|
|
|
|
|
|
|
|
Multiple recordsets can be returned. |
|
|
|
|
|
|
|
|
Advanced recordset cache management, including number of rows to return and how many rows to cache on the client. |
|
|
|
|
|
|
|
|
Asynchronous queries can be used for those queries that take a long time to complete. This allows your users to continue working your application while the database server is processing the data. |
|
|
|
|
|
|
|
|
Events will be called to signify that processing is complete or that processing is about to happen. Youll use these events quite a bit because Visual Basic is well designed to interact with events. |
|
|
|
|
|
|
|
|
Although ADO supports these listed features, youll need to make sure the underlying OLE DB provider supports each of them as well. Not all providers are created equal, and what one may support, another may not. |
|
|
|
|
|
|
|
|
Like most COM interfaces, ADO has a hierarchical object model. However, unlike most of the database interfaces out there (such as Jet and RDO), ADOs hierarchy doesnt necessarily need to be followed. You can start at the Connection object, or you can start directly with a Recordset objecteither way, youll get a connection to the data source. The following is a sampling of the hierarchy contained within ADO. |
|
|
|
 |
|
|
|
|
Connection
Errors -> Error
Command
Parameters -> Parameter
Recordset
Fields -> Field |
|
|
|
|
|